<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Cache-Control" content="no-siteapp" />
 <link href="assets/css/bootstrap.min.css" rel="stylesheet" />
        <link rel="stylesheet" href="css/style.css"/>       
        <link href="assets/css/codemirror.css" rel="stylesheet">
        <link rel="stylesheet" href="assets/css/ace.min.css" />
        <link rel="stylesheet" href="font/css/font-awesome.min.css" />
        <!--[if lte IE 8]>
		  <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
		<![endif]-->
		<script src="js/jquery-1.9.1.min.js"></script>
        <script src="assets/js/bootstrap.min.js"></script>
		<script src="assets/js/typeahead-bs2.min.js"></script>           	
		<script src="assets/js/jquery.dataTables.min.js"></script>
		<script src="assets/js/jquery.dataTables.bootstrap.js"></script>
        <script src="assets/layer/layer.js" type="text/javascript" ></script>          
        <script src="assets/laydate/laydate.js" type="text/javascript"></script>
        <script src="js/displayPart.js" type="text/javascript"></script>
		<script>
		$("#pd").click(function(){
				window.location.href="inventory_adjustment.html";
			})
		</script>

<title>出入库流水查询</title></head>

<body>
<div class="margin clearfix">
 <div class="Shops_Audit">
	 <div class="search_style">

		 <ul class="search_content clearfix">
			 <li><label class="l_f">出/入库单号</label>
				<input name="" type="text"  class="text_add" placeholder="请输入出/入库单号"  style=" width:180px"/>
			 </li>
			 <li><label class="l_f">批次</label>
				<input name="" type="text"  class="text_add" placeholder="请输入批次号"  style=" width:180px"/>
			 </li>
			 <li style="width:90px;"><button type="button" class="btn_search"><i class="icon-search"></i>查询</button></li>
		 </ul>
	 </div>
   <!--申请列表-->
   <div class="audit_list">
    <table class="table table-striped table-bordered table-hover" id="sample-table">
		<thead>
		 <tr>
		 	<th width="70">序号</th>
			<th width="150">出/入库单号</th>
			<th width="100">批次</th>                 
			<th width="100">商品名称</th>
			<th width="100">商品型号</th>
			<th width="100">数量（件）</th>
			<th width="100">仓库名称</th>
			<th width="120">出/入库时间</th>
			<th width="100">出/入库类型</th>
			<th width="150">调拨相关单号</th>
			</tr>
		</thead>
	<tbody>
      <tr>
	   <td>1</td>
	   <td>SC201603301001</td>
	   <td>2015121241</td>
       <td>旭派12V电池</td>
	   <td>48V20AH</td>
       <td>200</td>
	   <td>宿迁仓</td>
       <td>2016/12/8 12：24：35</td>      
       <td>生产入库</td>
	   <td></td>
      </tr>
      <tr>
	   <td>2</td>
	    <td>SC201603301001</td>
	   <td>2015121241</td>
       <td>旭派12V电池</td>
	   <td>48V20AH</td>
       <td>100</td>
	   <td>宿迁仓</td>
       <td>2016/12/8 12：24：35</td>      
       <td>生产入库</td>
	   <td></td>
      </tr>
      <tr>
	   <td>3</td>
	   <td>SC201603301001</td>
	   <td>2015121241</td>
       <td>旭派12V电池</td>
	   <td>48V20AH</td>
       <td>200</td>
	   <td>宿迁仓</td>
       <td>2016/12/8 12：24：35</td>      
       <td>销售出库</td>
	   <td></td>
      </tr>
	  <tr>
	   <td>4</td>
	   <td>SC201603301001</td>
	   <td>2015121241</td>
       <td>旭派12V电池</td>
	   <td>48V20AH</td>
       <td>200</td>
	   <td>宿迁仓</td>
       <td>2016/12/8 12：24：35</td>      
       <td>销售出库</td>
	   <td></td>
      </tr>
	  <tr>
	   <td>5</td>
	   <td>SC201603301001</td>
	   <td>2015121241</td>
       <td>旭派12V电池</td>
	   <td>48V20AH</td>
       <td>200</td>
	   <td>宿迁仓</td>
       <td>2016/12/8 12：24：35</td>      
       <td>生产入库</td>
	   <td></td>
      </tr>
	  <tr>
	   <td>6</td>
	   <td>SC201603301001</td>
	   <td>2015121241</td>
       <td>旭派12V电池</td>
	   <td>48V20AH</td>
       <td>200</td>
	   <td>宿迁仓</td>
       <td>2016/12/8 12：24：35</td>      
       <td>调拨入库</td>
	   <td>2015215424</td>
      </tr>
	  <tr>
	   <td>7</td>
	   <td>SC201603301001</td>
	   <td>2015121241</td>
       <td>旭派12V电池</td>
	   <td>48V20AH</td>
       <td>200</td>
	   <td>和田仓</td>
       <td>2016/12/8 12：24：35</td>      
       <td>调拨出库</td>
	   <td>2015215424</td>
      </tr>
    </tbody>
    </table>
   
   </div>
 </div>
</div>
</body>
</html>
<script>
$(function () {  
        $(".displayPart").displayPart();  
   });
$(function() {
		var oTable1 = $('#sample-table').dataTable( {
		//"aaSorting": [],//默认第几个排序
		"bStateSave": true,//状态保存
		//"dom": 't',
		"bFilter":false,
		"aoColumnDefs": [
		  //{"bVisible": false, "aTargets": [ 3 ]} //控制列的隐藏显示
		  {"orderable":false,"aTargets":[1,2,3,4,5,6,7,8,9]}// 制定列不参与排序
		] } );
				$('table th input:checkbox').on('click' , function(){
					var that = this;
					$(this).closest('table').find('tr > td:first-child input:checkbox')
					.each(function(){
						this.checked = that.checked;
						$(this).closest('tr').toggleClass('selected');
					});
						
				});
})

//面包屑返回值
var index = parent.layer.getFrameIndex(window.name);
parent.layer.iframeAuto(index);
$('.Refund_detailed').on('click', function(){
	var cname = $(this).attr("title");
	var chref = $(this).attr("href");
	var cnames = parent.$('.Current_page').html();
	var herf = parent.$("#iframe").attr("src");
    parent.$('#parentIframe').html(cname);
    parent.$('#iframe').attr("src",chref).ready();;
	parent.$('#parentIframe').css("display","inline-block");
	parent.$('.Current_page').attr({"name":herf,"href":"javascript:void(0)"}).css({"color":"#4c8fbd","cursor":"pointer"});
	//parent.$('.Current_page').html("<a href='javascript:void(0)' name="+herf+" class='iframeurl'>" + cnames + "</a>");
    parent.layer.close(index);
	
});
</script>
